package com.citasgoo.common;

import java.util.HashMap;
import java.util.Map;

public class OrganizationContextHolder {



    private static  Map<String, String> sysName = new HashMap<String, String>();
    private static Map<String, String> username = new HashMap<String, String>();
    private static Map<String, String> org = new HashMap<String, String>();
    private static Map<String, String> userNo = new HashMap<String, String>();


    public static String getSysName() {
        return sysName.get(Thread.currentThread().getName());
    }

    public static void setSysName(String value) {
        sysName.put(Thread.currentThread().getName(), value);

    }

    public static String getUsername() {
        return username.get(Thread.currentThread().getName());
    }

    public static void setUsername(String value) {
        username.put(Thread.currentThread().getName(), value);
    }

    public static String getOrg() {
        return org.get(Thread.currentThread().getName());
    }

    public static void setOrg(String value) {
        org.put(Thread.currentThread().getName(), value);
    }

    public static String getUserNo() {
        return userNo.get(Thread.currentThread().getName());
    }

    public static void setUserNo(String value) {
        userNo.put(Thread.currentThread().getName(), value);
    }
}
